home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / games / sc2_demo.zip / INSTALL.BAT next >
DOS Batch File  |  1993-03-22  |  3KB  |  84 lines

  1. @echo off
  2. if %1!==! goto USAGE
  3. if %2!==! goto USAGE
  4.  
  5. :START
  6. cls
  7. echo ╔═════════════════════════════════════════════════════╗
  8. echo ║  Star Control II(tm) Demo - Hard Drive Installation ║
  9. echo ╠═════════════════════════════════════════════════════╣
  10. echo ║                                                     ║
  11. echo ║   This utility will decompress all of the files     ║
  12. echo ║   for the Star Control II demo game from your       ║
  13. echo ║   floppy disk to your hard drive.                   ║
  14. echo ║                                                     ║
  15. echo ║   This DEMO version of SC2 only allows you to       ║
  16. echo ║   explore the SOL system.                           ║
  17. echo ║                                                     ║
  18. echo ║   If you don't want to install the Star Control II  ║
  19. echo ║   demo on your hard drive, press CTRL-C now.        ║
  20. echo ║                                                     ║
  21. echo ╚═════════════════════════════════════════════════════╝
  22. pause
  23.  
  24. :VALIDDRIVE
  25. if %1 == c: goto INSTALL
  26. if %1 == d: goto INSTALL
  27. if %1 == e: goto INSTALL
  28. if %1 == f: goto INSTALL
  29. if %1 == g: goto INSTALL
  30. if %1 == C: goto INSTALL
  31. if %1 == D: goto INSTALL
  32. if %1 == E: goto INSTALL
  33. if %1 == F: goto INSTALL
  34. if %1 == G: goto INSTALL
  35. goto USAGE
  36.  
  37. :INSTALL
  38. %1
  39.  
  40. :DEFAULTDIR
  41. echo making directory %1\SC2_DEMO...
  42. md %1\SC2_DEMO
  43. cd \SC2_DEMO
  44.  
  45. :DISK1
  46. echo Decompressing files ... 
  47. %2sc2_demo.exe
  48. goto DONE
  49.  
  50. :USAGE
  51. cls
  52. echo 
  53. echo ╔═════════════════════════════════════════════════════╗
  54. echo ║        USAGE: [INSTALL Drive] [SOURCE Drive]        ║
  55. echo ╠═════════════════════════════════════════════════════╣
  56. echo ║   Where [Install Drive] is the letter of the hard   ║
  57. echo ║   drive (c:, d:, or e:) on which you want to        ║
  58. echo ║   install the Star Control II demo game.  The       ║
  59. echo ║   [Source Drive] is the drive (a:, or b:) that      ║
  60. echo ║   you are installing the demo from.                 ║
  61. echo ║                                                     ║
  62. echo ║   You will need at least 3,000,000 bytes free on    ║
  63. echo ║   your hard disk to install the demo.               ║
  64. echo ║                                                     ║
  65. echo ╚═════════════════════════════════════════════════════╝
  66. echo 
  67. goto EXIT
  68.  
  69. goto EXIT
  70. :DONE
  71. cls
  72. echo ╔═════════════════════════════════════════════════════╗
  73. echo ║     Star Control II Demo Successfully Installed!    ║
  74. echo ╠═════════════════════════════════════════════════════╣
  75. echo ║        To start the game, type SC2_DEMO.            ║
  76. echo ║                                                     ║
  77. echo ║   You will need at least 580,000 bytes of low DOS   ║
  78. echo ║   memory to play.                                   ║
  79. echo ║                                                     ║
  80. echo ╚═════════════════════════════════════════════════════╝
  81. goto EXIT
  82.  
  83. :EXIT
  84.